export const emsOption = {
  labelWidth: 150,
  addBtn: false,
  editBtn: false,
  border: true,
  index: true,
  indexLabel: "序号",
  searchMenuSpan: 6,
  searchLabelWidth:120,
  searchMenuPosition:'right',
  delBtn: false,
  align: 'center',
  menuWidth: 250,
  editTitle: "送 达",
  updateBtnText: "保存",
  refreshBtn: false,
  columnBtn: false,
  searchShowBtn: false,
  column: [
    {
      label: "事项名称",
      prop: "taskName",
      search: true,
      align: 'left'
    },
    {
      label: "办件编号",
      prop: "projectNo",
      search: true,
      width: 400,
      align: 'left'
    },
    {
      label: "送达状态",
      prop: "serviceStatus",
      type: "select",
      width: 150,
      dicUrl: "/api/blade-system/dict-biz/dictionary?code=service_status",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
      disabled: true,
        hide: true,
    },
    {
      label: "申请人证件号",
      prop: "applyerPageCode",
      width: 180,
    },
    {
      label: "申请人",
      prop: "applyerName",
      search: true,
      disabled: true,
        width: 110,
    },
      {
          label: "申报寄件",
          prop: "isMailingMaterials",
          type: "radio",
          width: 100,
          dicData: [
              {
                  label: "是",
                  value: "1"
              },
              {
                  label: "否",
                  value: "0"
              },
              {
                  label: "否",
                  value: ""
              }
          ]
      },
      {
          label: "结果送达方式",
          prop: "receiveWay",
          type: "select",
          width: 110,
          dicUrl: '/api/blade-system/dict-biz/dictionary?code=receiveWay',
          props: {
              label: "dictValue",
              value: "dictKey"
          },
      },
    {
      label: "办件来源",
      prop: "caseFrom",
      type: 'select',
      width: 150,
      dicUrl: '/api/blade-system/dict-biz/dictionary?code=case_from',
      props: {
        label: "dictValue",
        value: "dictKey"
      },
      disabled: true,
        hide: true,
    },
    {
      label: "申报时间",
      prop: "applyDate",
      disabled: true,
      width: 150,
    },
  ]
};

export const logisticsOption = {
  labelWidth: 150,
  emptyBtn: false,
  submitBtn: false,
  disabled: true,
  column:[
    {
      label: '收件人',
      prop: 'receiverName',
      placeholder:' ',
      span: 12
    },
    {
      label: '收件人联系电话',
      prop: 'receiverTel',
      placeholder:' ',
      span: 12
    },
    {
      label: '收件人公司',
      placeholder:' ',
      prop: 'receiverCompany',
      span: 12
    },
    {
      label: '收件人邮编',
      prop: 'receiverPostcode',
      placeholder:' ',
      span: 12
    },
    {
      label:"收件省",
      prop: "receiverProvinceName",
      span: 12,
      placeholder:' ',
    },
    {
      label:"收件市",
      prop: "receiverCityName",
      placeholder:' ',
      span: 12,
    },
    {
      label:"收件区",
      prop: "receiverExpAreaName",
      placeholder:' ',
      span: 12,
    },
    {
      label: '收件人详细地址',
      placeholder:' ',
      prop: 'receiverAddress',
      span: 24
    }
  ]

}


export const emsHandleOption ={
  labelWidth: 150,
  emptyBtn: false,
  submitBtn: false,
  disabled: true,
  group:[
    {
      label:'基本信息',
      column:[
        {
          label: "事项名称",
          prop: "taskName",
          span: 12,
            placeholder: " ",
        },
        {
          label: "办件编号",
          prop: "projectNo",
          span: 12,
            placeholder: " ",
        },
        {
          label: "送达状态",
          prop: "serviceStatus",
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=service_status",
          props: {
            label: "dictValue",
            value: "dictKey"
          },
          span: 12,
            placeholder: " ",
        },
        {
          label: "申请人",
          prop: "caseApplyer",
          span: 12,
            placeholder: " ",
        },
        {
          label: "取件方式",
          prop: "caseIsExpress",
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=receiveWay",
          props: {
            label: "dictValue",
            value: "dictKey"
          },
          span: 12,
            placeholder: " ",
        },
        {
          label: "送达人",
          prop: "servicePeople",
          span: 12,
            placeholder: " ",
        },
      ]
    },
    {
      label:'寄件人信息',
      column:[
        {
          label:"寄件人",
          prop: "senderName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"寄件人联系电话",
          prop: "senderTel",
          span: 12,
            placeholder: " ",
        },
        {
          label:"寄件省",
          prop: "senderProvinceName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"寄件市",
          prop: "senderCityName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"寄件区",
          prop: "senderExpAreaName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"寄件人邮编",
          prop: "senderPostCode",
          span: 12,
            placeholder: " ",
        },
        {
          label:"详细地址",
          prop: "senderAddress",
          span: 24,
            placeholder: " ",
        },
        /*{
          label:"物品名称",
          prop: "goodsName",
          span: 12,
        },
        {
          label:"物品数量",
          prop: "goodsQuantity",
          span: 12,
        },
        {
          label:"物品描述",
          prop: "goodsDesc",
          span: 24,
        },*/
      ]
    },
    {
      label:'收件人信息',
      prop:'data',
      column:[
        {
          label:"收件人",
          prop: "receiverName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"收件人联系电话",
          prop: "receiverTel",
          span: 12,
            placeholder: " ",
        },
        {
          label:"收件省",
          prop: "receiverProvinceName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"收件市",
          prop: "receiverCityName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"收件区",
          prop: "receiverExpAreaName",
          span: 12,
            placeholder: " ",
        },
        {
          label:"收件人邮编",
          prop: "receiverAreaCode",
          span: 12,
          placeholder: " ",
        },
        {
          label:"收件人详细地址",
          prop: "receiverAddress",
          span: 24,
          placeholder: " ",
        }
      ]
    }
  ],

}
